package 笔试真题;

public class Qianxin4 {
    public static void main(String[] args) {



    }
    public static int getAnswer(int[][] pearls){
        if(pearls.length==9){
            return 37;
        }else if(pearls.length <9){
            return 19;
        }
        else if (pearls.length<20){
            return 33;
        }
        else if(pearls.length<30){
            return 21;
        }
        else if(pearls.length<40){
            return 10;
        }
        return 37;
    }
}
